#ifndef TEST_H
#define TEST_H

#include "math3d.h"
#include "utils.h"

class Tentacle;
class TextRender;

///////////////////////////////////////////////////////////////////////////////

class Test
{
  static const unsigned int TENTCLUSTER = 2;
  static const unsigned int TENTACLES = 100/TENTCLUSTER;
public:
  Test();
  ~Test();

  void init();
  void resize(int width, int height);
  void render();
  void mouseMoved(int deltaX, int deltaY);

private:
  mat4 m_projMat;

  TextRender *m_textRender;
  Tentacle *m_tentacle[TENTACLES][TENTCLUSTER];

  GLuint m_texture;

  float m_camX;
  float m_camY;
};

///////////////////////////////////////////////////////////////////////////////

#endif
